package com.hsnn.medstgmini.trading.pur.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @category 配送信息
 * @author 蔡春龙
 * @date 2015年7月14日
 */
@Entity
@Table(name = "pur_delorderinfo")
public class PurDelOrderInfo {

	@Id
	@Column(name = "del_detail_id")
	private String delDetailId; // 配送明细id
	
	@Column(name = "order_pack_id")
	private String orderPackId;//订单包号

	@Column(name = "order_code")
	private String orderCode; // 订单明细id

	@Column(name = "del_count")
	private Integer delCount; // 配送数量

	@Column(name = "del_datetime")
	private Date delDateTime; // 配送时间
	
	@Column(name="order_del_timespace")
	private Integer orderDelTimespace;//订单提交到配送时间差(分钟)
	
	@Column(name="confirm_del_timespace")
	private Integer confirmDelTimespace;//订单确认到配送时间差(分钟)

	@Column(name = "del_user")
	private String delUser; // 点配送人

	@Column(name = "approve_code")
	private String approveCode; // 批号

	@Column(name = "credential")
	private String credential; // 有效期(yyyy-MM)
	
	@Column(name="invoice_no")
	private String invoiceNo;//开票号
	
	@Column(name="invoice_amount")
	private Double invoiceAmount;//开票金额
	
	@Column(name="invoice_datetime")
	private Date invoiceDatetime;//开票日期
	
	@Column(name="recp_code")
	private String recpCode;//到货编号
	

	@Column(name = "remarks")
	private String remarks; // 配送备注

	@Column(name = "interflow_id")
	private String interflowId; // 物流信息ID(订单包号)

	@Column(name = "order_conf_end_time")
	private Date orderConfEndTime; // 订单到货确认截止时间

	@Column(name = "is_recepted")
	private Integer isRecepted; // 是否到货0初始1已到货2未到货

	@Column(name = "recp_count")
	private Integer recpCount; // 到货数量

	@Column(name = "recp_datetime")
	private Date recpDatetime; // 到货确认时间

	@Column(name = "recp_user")
	private String recpUser; // 到货确认人

	@Column(name = "store_user")
	private String storeUser; // 入库人姓名

	@Column(name = "upd_time")
	private Date updTime;//更新时间
	
	@Column(name = "upd_user")
	private String updUser;//更新人
	
	public String getDelDetailId() {
		return delDetailId;
	}

	public void setDelDetailId(String delDetailId) {
		this.delDetailId = delDetailId;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public Integer getDelCount() {
		return delCount;
	}

	public void setDelCount(Integer delCount) {
		this.delCount = delCount;
	}

	public Date getDelDateTime() {
		return delDateTime;
	}

	public void setDelDateTime(Date delDateTime) {
		this.delDateTime = delDateTime;
	}

	public String getDelUser() {
		return delUser;
	}

	public void setDelUser(String delUser) {
		this.delUser = delUser;
	}

	public String getApproveCode() {
		return approveCode;
	}

	public void setApproveCode(String approveCode) {
		this.approveCode = approveCode;
	}

	public String getCredential() {
		return credential;
	}

	public void setCredential(String credential) {
		this.credential = credential;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getInterflowId() {
		return interflowId;
	}

	public void setInterflowId(String interflowId) {
		this.interflowId = interflowId;
	}

	public Date getOrderConfEndTime() {
		return orderConfEndTime;
	}

	public void setOrderConfEndTime(Date orderConfEndTime) {
		this.orderConfEndTime = orderConfEndTime;
	}

	public Integer getIsRecepted() {
		return isRecepted;
	}

	public void setIsRecepted(Integer isRecepted) {
		this.isRecepted = isRecepted;
	}

	public Integer getRecpCount() {
		return recpCount;
	}

	public void setRecpCount(Integer recpCount) {
		this.recpCount = recpCount;
	}

	public Date getRecpDatetime() {
		return recpDatetime;
	}

	public void setRecpDatetime(Date recpDatetime) {
		this.recpDatetime = recpDatetime;
	}

	public String getRecpUser() {
		return recpUser;
	}

	public void setRecpUser(String recpUser) {
		this.recpUser = recpUser;
	}

	public String getStoreUser() {
		return storeUser;
	}

	public void setStoreUser(String storeUser) {
		this.storeUser = storeUser;
	}

	public String getOrderPackId() {
		return orderPackId;
	}

	public void setOrderPackId(String orderPackId) {
		this.orderPackId = orderPackId;
	}

	public Integer getOrderDelTimespace() {
		return orderDelTimespace;
	}

	public void setOrderDelTimespace(Integer orderDelTimespace) {
		this.orderDelTimespace = orderDelTimespace;
	}

	public Integer getConfirmDelTimespace() {
		return confirmDelTimespace;
	}

	public void setConfirmDelTimespace(Integer confirmDelTimespace) {
		this.confirmDelTimespace = confirmDelTimespace;
	}

	public String getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	public Double getInvoiceAmount() {
		return invoiceAmount;
	}

	public void setInvoiceAmount(Double invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}

	public Date getInvoiceDatetime() {
		return invoiceDatetime;
	}

	public void setInvoiceDatetime(Date invoiceDatetime) {
		this.invoiceDatetime = invoiceDatetime;
	}

	public String getRecpCode() {
		return recpCode;
	}

	public void setRecpCode(String recpCode) {
		this.recpCode = recpCode;
	}

	public Date getUpdTime() {
		return updTime;
	}

	public void setUpdTime(Date updTime) {
		this.updTime = updTime;
	}

	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

	
}
